<?php

namespace App\Admin\Extensions\Tools\Vseriali;

use Encore\Admin\Grid\Tools\BatchAction;

class BatchInjectVseriali extends BatchAction
{
    public function __construct()
    {
    }

    public function script()
    {
        return <<<EOT

$('{$this->getElementClass()}').on('click', function() {
	injectVserialiOneOrMore({ids: selectedRows()});
});

EOT;

    }
}